package com.yn.xr.common.properties;

import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Properties;

public class SystemConstants {

	public static String RsaKeyPath;

	static {
		init();
	}

	private static void init() {
		try {
			InputStream is = SystemConstants.class
					.getResourceAsStream("/config.properties");
			Properties prop = new Properties();
			prop.load(new InputStreamReader(is));
			RsaKeyPath = prop.getProperty("RsaKeyPath");
			is.close();
			prop = null;

		} catch (Exception e) {
			e.printStackTrace();

		}
	}
}
